<?php 
class FileUpdateListener {
	private $all_name;
	private $done_name;
	
	public function __construct($table) {
		$this->all_name=$table."_all";
		$this->done_name=$table."_done";
	}
	
	public function onFileUpdate($all, $done){
		updateVarBuffer($this->all_name, $all);
		updateVarBuffer($this->done_name, $done);
	}
}
?>